#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>

#define SWAP(n) (((n&0xaaaaaaaa)>>1)+((n&0x55555555)<<1))

int main()
{
	int n = 10;
	printf("%d\n", SWAP(n));
	return 0;
	
}





